var mongoose = require('mongoose'),
    Schema = mongoose.Schema,
    Disciplina = require('./disciplina.model').DisciplinaSchema;

var Turma = new Schema({
    disciplina: [Disciplina],
    vagas: String,
    horario: [String]
});

mongoose.model('Turma', Turma);

exports.TurmaSchema = Turma;
exports.Turma = mongoose.model('Turma');
